﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QuickDrawScreen
{
    public class DrawAction
    {
        // 0标记位mouseUp结束动作  用于撤回  
        // 1 画鼠标跟随线 其它也是直线
        // 2 画直线  
        public int ActType = 1;

        public Point StartPoint = new Point(0, 0);

        public Point EndPoint = new Point(0, 0);

        public Pen Pen = new Pen(Brushes.Red, 3);

        //将删除  
        public int itemTo = 0;

        public DrawAction()
        {
        }

        public DrawAction(Pen pen)
        {
            this.Pen = pen;
        }
    }

    public enum DrawTypeEnum
    {
        ActEnd = 0,
        MouserTrans = 1,
        DrawLine = 2,
        DrawRectangle = 3
    }
}
